using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;


/// <summary>
/// Summary description for TutorialService
/// </summary>
[WebService(Namespace = "http://eelms.grubbland.com/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class TutorialService : System.Web.Services.WebService
{

    public TutorialService()
    {

        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    [WebMethod]
    public string HelloWorld()
    {
        return "Hello World";
    }

    [WebMethod]
    public string PrimativeData( int id, string title )
    {
        return title;
    }

    [WebMethod]
    public TutorialObject ComplexData( TutorialObject to )
    {
        to.Id += 1;
        to.Title += "Coming Back";
        return to;
    }

}

